Method and apparatus for improving the picture quality in multi-dimensional differential pulse code modulation

ABSTRACT

A method and apparatus for improving picture quality in multi-dimensional differential pulse code modulation coding wherein at the receiver at the end of an active picture line AZ reconstructed samples C r  are expanded by utilizing auxiliary samples H c  which are allocated to the blanking interval AL and the same auxiliary samples H c  are utilized for encoding at the transmitter of the data. The method and apparatus substantially improves the picture quality by utilizing the techniques of the invention.

This is a continuation of application Ser. No. 795,311 filed Nov. 5, 1985 now abandonment.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates in general to a method and apparatus for improving the picture quality in differential pulse code modulation transmitting systems and in particular to method and apparatus for producing reconstructed samples which utilize auxiliary samples associated with the blanking interval at both the receiver and the transmitter.

2. Description of the Prior Art

Differential pulse code modulation (DPCM) is utilized in the transmission of video signals for reducing the data rate. Such DPCM systems are disclosed in the book entitled "Digital Television" by R. H. Stafford, published by John Wiley & Sons (1980), at pages 30 through 58. The DPCM coder calculates an estimated value of data from the neighboring samples of a current sample of data and compares this estimated value to the present sample and outputs the quantitized difference between these two values as DPCM signal value. The receiver reconstructs the samples using the received quantized DPCM signal values. So as to keep the quantitized error from resulting in too large an error between the reconstructed samples and the original samples, the DPCM coder at the transmitter using a DPCM method is constructed such that a recursive DPCM decoder is contained therein, in other words, the same estimated values are used at the transmitter as well as the receiver. The recursive apparatus also assures that the mean value of the quantitized value is zero.

In multi-dimensional DPCM, X samples adjacent the current sample are utilized for calculating the estimated value s. In two dimensional DPCM the sample A which preceded the current sample, the sample B of the preceding picture line which lies directly above the sample A and samples C and D following are frequently employed as the neighboring samples. In three dimensional DPCM coding, the neighboring samples of the preceding picture or field are also utilized.

The codings of the last DPCM value of a picture line and the reconstruction at the receiver of the last sample of a picture line are problemmatical because only the DPCM values of the scanning values (picture points) of the active lines are transmitted to the receiver. The DPCM values Δs for scanning values already falling into the blanking gap are not available to the receiver and must be replaced by an optional value. Thus, the effect of this error in reconstructive scanning values also extends into the succeeding active picture lines since the scanning value is also used in the reconstruction of scanning values of the next picture line and so forth according to the picture content. This error results from the use of different estimated values at the transmitting and receiving locations.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a method and apparatus for improving the picture quality in multidimensional DPCM coding.

A feature of the present method and apparatus for improving picture quality in multi-dimensional DPCM coding of video signals in which at least one scanning value of a preceding picture line follows the current scanning value and is used for calculating an estimated value and the associated DPCM value at the receiver with the last reconstructed scanning values C_(r) supplemented by additional auxiliary scanning values Ac assigned to the blanking gap after the end of an active picture line and wherein individual scanning values X_(r) reconstructed at the end of the next active picture line using such auxiliary scanning values H_(c) . . . and wherein at the transmitter, the same auxiliary scanning values H_(c) . . . are used for encoding.

Another object of the present invention is to provide at the receiver after the DPCM values of each active picture line have been processed at least one DPCM value of zero is used to calculate the auxiliary scanning values and at the transmitter the same DPCM values are used for calculating the same auxiliary scanning values.

Another feature of the present invention is that the reconstructed last scanning values of the active picture line AZ are used as auxiliary scanning values H_(s), H_(c) . . . Another feature of the present invention is that a constant value is used for the auxiliary scanning values.

Yet another object of the invention is to provide that the constant value is equal to a mean gray scale value. Yet another object of the invention is to provide that only one single scanning value H is used in each picture line to calculate the last reconstructed scanning value X_(r) of the active picture line.

In the method of invention the same estimated values are used by agreement at the DPCM decoder and in the DPCM coder when calculating the last DPCM value and reconstructing the last active scanning value. In less common DPCM coding methods where several scanning values are used which fall into the blanking gap to calculate the estimated value, the invention applies the technique and method to the appropriate number of estimated values at the end of a picture line.

Exact synchronism between the DPCM decoder and the DPCM coder is achieved by setting the quantitized DPCM values to zero. Also, the same values can be used in normal multidimensional DPCM coding for the first scanning value on the blanking gap and for the last scanning value on the active picture line. The synchronism between the DPCM decoder and the DPCM coder may also be achieved by feeding the same auxiliary scanning value for calculating the last reconstructed scanning value or the last DPCM value into the appropriate prediction device.

Other objects, features and advantages of the invention will be readily apparent from the following description of certain preferred embodiments thereof taken in conjunction with the accompanying drawings although variations and modifications may be effected without departing from the spirit and scope of the novel concepts of the disclosure and in which:

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example of possible selection values of adjacent scanning values for calculating an estimated value;

FIG. 2 shows a reconstructed scanning value at the end of a picture line;

FIG. 3 illustrates the error propagation at the end of a picture line;

FIG. 4 illustrates a possible selection of adjacent scanning values for calculating the estimated value in three dimensional DPCM;

FIG. 5 illustrates a reconstructed scanning value at the end of the picture line;

FIG. 6 illustrates reconstructed scanning values using constant auxiliary scanning values; FIG. 7 illustrates a DPCM coder according to the invention; and

FIG. 8 illustrates a DPCM decoder according to the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The method and apparatus will be explained with reference to a two dimensional DPCM coding method. FIG. 1 illustrates the scanning values or picture points of two consecutive picture lines as, for example, television scanning lines. In the first picture line illustrated, these are the scanning values BCD and in the next picture line commencing directly below the scanning value B scanning values A and X. The scanning value X in question is normally digitized and transmitted to the DPCM coder as a data word and is compared with the estimated value s, which is determined by means of the adjacent scanning values, A, B, C and D. Quantitized DPCM value Δs_(q) formed from the estimated value and the scanning value under consideration is transmitted to the receiver.

The DPCM decoder attempts to reconstruct the original scanning value from the quantitized DPCM values. However, because of the quantitization errors, the reconstructed scanning values deviate slightly from the original scanning values.

FIG. 2 illustrates the last reconstructed scanning values of two consecutive picture lines. Difficulties are encountered in constructing the last current scanning value X_(r) because there is no reconstructed scanning D_(r) in the blanking gap AL because the corresponding DPCM value is not transmitted. The last DPCM value of a picture line transmitted was formed utilizing the last scanning values A, X, B and C of the active picture line AZ and a further scanning value D already in the blanking gap. If the scanning value D is replaced by another value at the receiver, this leads initially to an incorrect reconstructed scanning value X_(r) and hence to an interruption in the synchronization in the DPCM decoder and the DPCM coder.

FIG. 3 illustrates how the errors are propagated in the case of the prediction algorithm illustrated in FIG. 1. The correct reconstructed scanning values are denoted by an asterisk and incorrectly reconstructed scanning values by Y. In the case of the DPCM coding method used therefore the effect of an error may extend substantially into the subsequent active picture lines during reconstruction as illustrated in FIG. 3.

FIG. 4 illustrates the adjacent estimated values for three dimensional DPCM coding. Estimated values EFG and HIJ belong in this case to the last frame. When reconstructing the last scanning value of a television line, several estimated values D_(A), J_(A) and G_(A) which already fall into the blanking gap AL must therefore be taken into consideration. It is possible in this example, of course, although unusual to use prediction algorithms where more than one estimated value per picture line falls into the blanking gap.

According to the present invention, every first scanning value falling into the blanking gap and similarly any further scanning values falling into the blanking gap are replaced at the receiver and transmitter by agreement by the same reconstructed auxiliary scanning value H, by the last reconstructed scanning values of a picture line s_(n), C_(r) or by constant auxiliary scanning values N_(A) as illustrated in FIGS. 5 and 6.

FIG. 3 illustrates that it is also impossible to avoid incorrectly reconstructed scanning values by transmitting additional DPCM values extending into the blanking gap AL using the prediction algorithms indicated due to the error propagation.

FIG. 7 illustrates a DPCM coder. Digitized scanning values s are transmitted by way of a first input E1 to a first register R1. The output of the register R1 is connected to the input of a subtractor SU which provides its output to the input of a quantitizer Q.

The output AQ of the quantizer Q is connected to the input of a first adder A1 which supplies its output to a second register R2. A first predictor PR1 receives the output of the second register R2 and the predictor PR1 supplies an output to the subtractor SU and also supplies its output to the second input of the first adder A1. The output of the second register R2 forms the so-called output AL1 to which the reconstructed scanning values s_(r) are transmitted.

The first predictor PR1 contains a multiplier M which receives an input that is connected to the output of the second register R2 and has its output connected to the input of an adder AD. The multiplier M multiplies the input values by a constant factor "a". A series connection of a transit time element LG and a line predictor ZP are connected between the output of the second register R2 and supplies an output from the line predictor ZP to the adder AD. The transit time element LG and line predictor ZP are connected in parallel with the multiplier M. The output of the adder AD forms the output of the first predictor PR1. A binary counter C1 operates as the time element and has its clock element connected to an operating cycle input T_(A) which indicates the scanning value cycle. The clock input T_(A) is also supplied to the first and second registers R1 and R2 as illustrated. The output AC1 of the first binary counter C1 is connected either to the setting input X1 of the quantizer Q or to a resetting input Y1 of the second register R2 or to its takeover control input Z1. The binary counter is also provided with a resetting input RC1 to which the line pulse ZI is transmitted by way of an input Terminal E2. The line pulse is also supplied as a setting input SE of the first predictor PR1 and as not illustrated also is supplied as the resetting input of the second register R2. The DPCM coder illustrated in FIG. 7 is provided with a normal circuit arrangement, but the method and apparatus according to the invention may be implemented with coders and decoders of any desired structure.

The digitized scanning value s is transmitted to subtractor SU by way of the first register R1. The DPCM signal Δs which is transmitted to the input of the quantizer Q is determined from the difference between s and the estimated value s supplied by the first predictor PR1. The quantized DPCM values Δs_(q) are produced at the output AQ of the quantizer Q and are supplied to the first adder A1. The reconstructed scanning values s_(r) is determined by adding to the estimated value s at the second adding input and is transmitted to the first predictor PR1 for calculating the next estimated value. The transit time element LG is provided with a variable number of taps depending on the design of the line predictor ZP or contains several transit time elements. At the beginning of each picture line, the line pulse Z1 is supplied to the predictor PR1 and if desired to the second register R2. This is necessary because the first picture points A and B again lie outside of the active picture line when calculating the PCM signal, using the first current picture point X according to picture 1. However, this does not form part of the invention and is not explained further herein for that reason.

The decoder is illustrated in FIG. 8 and a third register R3 which may be resettable if desired and necessary is connected in series to the DPCM decoder. The quantized DPCM values Δs_(q) are supplied at terminal input E3 to the third register R3 which supplies these values to the first input of a second adder A2. The output of the adder A2 is connected to an input of a fourth register R4 which has its output connected to a second predictor PR2. The predictor PR2 has its output fed back to the second input of the second adder A2 in the manner of the DPCM coder. The second predictor PR2 is identical to the first predictor PR1 and includes a multiplier M and adder AD, a line predictor ZP and a transit time element LG connected in the same manner as the predictor PR1 in the coder. At the output of the fourth register R4, reconstructed scanning s_(r) are supplied to the local output AL2. The DPCM decoder is provided with a second binary counter C2 and its clock input is operating cycle TA2 at the receiver and the second binary counter C2 provides an output AC2 which is connected either to the resetting input X2 of the third register R3 to the resetting input Y2 of the fourth register R4 or to the takeover control input Z2 of the fourth register R4. A line pulse ZI2 at the receiver is transmitted by way of a fourth input E4 to the resetting input RC2 of the second binary counter C2 and as the setting input SE2 of the second predictor PR2 and, if necessary, to the resetting input Y2 of the fourth register R4. The operating cycle TA2 is transmitted to registers R3 and R4 as illustrated at their inputs.

The function of the DPCM decoder corresponds to the inner computing loop of the DPCM coder.

Assuming that a prediction algorithm according to FIG. 1 is used, the operation and function of the DPCM decoder will be explained. The binary counter C2 is reset or set by line pulse ZI2. Scanning values s_(r) are reconstructed normally during the active line. The value C_(r), for instance, should be reconstructed according to FIG. 5 towards the end of a picture line, but this is only possible with the aid of reconstructed scanning values s_(n-1), s_(n) and s_(n+1) of the preceding picture line which is not present at the receiving site. Since the DPCM value for s_(n+1) has not been transmitted, auxiliary scanning value H_(s) is utilized for calculating C_(r) instead of s_(n+1). Such auxiliary scanning values can be determined in various ways. The auxiliary sample H_(s) (FIG.) 5) is calculated, for example, with the output AC2 of the second binary counter C2 by setting the resettable register R3 to zero by way of its reset input X2. The second adder A2 is supplied with a DPCM value Δs_(q) =0 and processed with an additional work clock. The additionally calculated auxiliary sample is supplied into the line predictor ZP and is used at the end of the next picture line for the calculation of X_(r).

In the DPCM coder this corresponds to supplying an input DPCM value of Δs_(q) =0 into the first adder A1. This can occur, for example, by setting the quantizer Q outputs to 0 and by setting a corresponding DPCM signal Δs into the quantizer Q or by resetting a register which follows the quantizer in a circuit design which is non-critical. Since the reconstructed samples s_(n+2) are also additionally required in this method for calculating H_(c) it is expedient to select a mean gray value or even set the line predictor to 0. If possible, zero can be written into the corresponding registers instead of resetting to 0.

In the DPCM decoder, the last reconstructed value C_(r) of the active picture line AZ can also be utilized as the auxiliary sample H. In this case, the tranfer control inputs Z2 of the fourth register R4 of the DPCM decoder and of the second register R2 of the DCPM encoder are inhibited by the outputs AC2 and AC1 of the binary counters C2 and C1 and, thus, the operating clock signal T_(A) or respectively T_(A2) are ineffective so that the same reconstructed values C_(r) are, respectively, output as auxiliary samples at the local inputs AL2 and AL1 and are supplied into the predictor. The DPCM decoder and the DCPM coder again consequently carry out the same arithmetical operations.

As a third possibility, the fourth register R4 of the DPCM decoder and the second register R2 of the DPCM coder are reset by the inputs Y2 and, respectively, Y1 to zero which corresponds to the mean gray value after the end of an active line and this is supplied to the predictors (best mode). This method is simpler and clearer than the prior described two methods. Since, however, errors can only be detected with certain picture contents without the measures according to the invention, the measures according to the invention are considered desirable.

Mean gray values should again be used as auxiliary scanning values for reconstructing the beginnings of the lines and the first (uppermost) line and in the described three dimensional prediction of the last line as well.

All three methods described for improving the picture quality involve conducting the same calculation in the decoder and the coder. They may be used in coders and decoders of any construction. The binary counters and a time element of a different design are generally also provided for correctly time insertion of the picture pulses and for control of the duration of the active picture line.

Although the invention has been described with respect to preferred embodiments, it is not to be so limited as changes and modifications may be made therein which are within the full intended scope of the invention as defined by the appended claims. 

We claim as our invention:
 1. A method for improving the picture quality in multidimensional DPCM coding of line scanned video signals comprising, the steps of computing at a transmitter an estimated signal value s at a present point from at least adjacent scanning signal values (B, C, D) in a preceding picture line which has previously been scanned and wherein one of the scanning signal values (D) is for a point after said present point, calculating at said transmitter an associated DPCM-value signal (Δs) from a current scanning signal value (X) for said present point and from said estimated signal value (s), and transmitting said associated DPCM-value signal (Δs), receiving said transmitted associated DPCM-value signal (Δs), calculating at a receiver said estimated signal values (s) and reconstructed scanning signal values (B_(r), C_(r), A_(r), X_(r) . . . ) wherein during said calculation of said receiver estimated signal values (s) and said reconstructed scanning signal values, at least reconstructed signal values (B_(r), C_(r), D_(r)) for adjacent points in a preceding line and said associated DPCM-value signals (Δs) are used and for calculating a last reconstructed scanning signal value (X_(r)) of the picture line the associated DPCM-value signal (Δs) and at least said reconstructed adjacent scanning signal values (B_(r), C_(r),) and an auxiliary scanning signal value (Hc) of the preceding picture line are used wherein said auxiliary scanning signal value (H_(c)) corresponds to a point after the end of each preceding picture line (AZ) and is occuring in a blanking gap, and wherein for said coding of corresponding line scanned video signals at the transmitter and for calculating and reconstructing the last scanning signal value (X_(r)) of the picture line at the receiver the same said auxiliary scanning values (H_(c)) are used.
 2. The method according to claim 1, further comprising the step of using at the receiver, reconstructed scanning values (s_(n), C_(r)) of said active picture line (AZ) as said auxiliary scanning values (H_(s), H_(c), . . . ).
 3. The method according to claim 1, further comprising the step of using a constant value (N_(A)) for said auxiliary scanning values (H).
 4. The method according to claim 1, wherein the constant value (N_(A)) is equal to a mean gray value.
 5. The method according to claim 1, comprising the step of using only one of said auxiliary scanning signal values (H) in each picture line for calculating said last reconstructed scanning value (X_(r)) of the active picture line (AZ) which occurs at the end of said active picture line. 